package com.zy.modules.api.repo;

import com.zy.modules.api.entity.UserEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

/**
 * <p></p>
 * Created by zhezhiyong@163.com on 2017/7/25.
 */
public interface UserApiRepository extends PagingAndSortingRepository<UserEntity, Long>, JpaSpecificationExecutor<UserEntity> {
    UserEntity findByMobile(String mobile);
}
